<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>RaspBerryPi power control: wiringPi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RaspBerryPi power control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">wiringPi.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wiringPi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * wiringPi:</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *  Arduino compatable (ish) Wiring library for the Raspberry Pi</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  Copyright (c) 2012 Gordon Henderson</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> ***********************************************************************</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of wiringPi:</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *  https://projects.drogon.net/raspberry-pi/wiringpi/</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *    wiringPi is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    it under the terms of the GNU Lesser General Public License as published by</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    (at your option) any later version.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *    wiringPi is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    GNU Lesser General Public License for more details.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *    You should have received a copy of the GNU Lesser General Public License</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    along with wiringPi.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> ***********************************************************************</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// Handy defines</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a5de279e378a1ea5a94ed91239a5ebfa3">   26</a></span>&#160;<span class="preprocessor">#define NUM_PINS    17</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a7f388096406b9fed5f17926c6793fcf6">   28</a></span>&#160;<span class="preprocessor">#define WPI_MODE_PINS        0</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#afeefd0543f428fc754ddd26ba2257c72">   29</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define WPI_MODE_GPIO        1</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a3e8ab8a17ead0820f7fc588fa20a0c94">   30</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define WPI_MODE_GPIO_SYS    2</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a8c912cd22c53b4274898965ecd7aaee5">   31</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define WPI_MODE_PIFACE      3</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a1bb283bd7893b9855e2f23013891fc82">   33</a></span>&#160;<span class="preprocessor">#define INPUT        0</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a61a3c9a18380aafb6e430e79bf596557">   34</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define OUTPUT       1</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#af061d92c703ae47631ce7e2f26e37c61">   35</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PWM_OUTPUT   2</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#ab811d8c6ff3a505312d3276590444289">   37</a></span>&#160;<span class="preprocessor">#define LOW      0</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a5bb885982ff66a2e0a0a45a8ee9c35e2">   38</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define HIGH         1</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a7325e80d331159877dcd8baf2020b677">   40</a></span>&#160;<span class="preprocessor">#define PUD_OFF      0</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#a9a2298052cddfeeab28a43de90de9bef">   41</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PUD_DOWN     1</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#abca66a4d6b79044f4a8e9e98845be8c7">   42</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PUD_UP       2</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">// PWM</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#ae20f7fb70fe32b10553b34c9f877727a">   46</a></span>&#160;<span class="preprocessor">#define PWM_MODE_MS 0</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#aeb13e3d4ed1e53b9941ab45038895e03">   47</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define PWM_MODE_BAL    1</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">// Function prototypes</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">//  c++ wrappers thanks to a commend by Nick Lott</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">//  (and others on the Raspberry Pi forums)</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">// Basic wiringPi functions</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8c.html#a25277e2613bec7c9f9ca2f0e2643dbe2">wiringPiSetup</a>       (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8c.html#a2e77cce0e489657e2540a46917fd032c">wiringPiSetupSys</a>    (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8c.html#ac928832a6ac6021a75db885b9889c46a">wiringPiSetupGpio</a>   (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8h.html#ad175ceda00a963dbe228805930942f9a">wiringPiSetupPiFace</a> (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8c.html#a6ed951d849e6f424c96c06aab0d10076">piBoardRev</a>          (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8c.html#a4d196ecbe24eb4ac7cf44daeefcef9d9">wpiPinToGpio</a>        (<span class="keywordtype">int</span> wpiPin) ;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8h.html#aee81a3eefe4eb2ce500b7f4c6cdb341b">wiringPiSetupPiFaceForGpioProg</a> (<span class="keywordtype">void</span>) ; <span class="comment">// Don&#39;t use this - for gpio program only</span></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#aa66bcb32a4dd7edf0d10ac9a405911e5">pinMode</a>)           (<span class="keywordtype">int</span> pin, <span class="keywordtype">int</span> mode) ;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#a0122eed1bbf4a586d965152b8ed282a3">pullUpDnControl</a>)   (<span class="keywordtype">int</span> pin, <span class="keywordtype">int</span> pud) ;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#a6aabe6caa7d940e2522b74abd37b0e2e">digitalWrite</a>)      (<span class="keywordtype">int</span> pin, <span class="keywordtype">int</span> value) ;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#ad7ed87c6a21d4afd584954b22f36e1fd">pwmWrite</a>)          (<span class="keywordtype">int</span> pin, <span class="keywordtype">int</span> value) ;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#a7bdb43d14e4ada28ffd752ab2db61552">setPadDrive</a>)       (<span class="keywordtype">int</span> group, <span class="keywordtype">int</span> value) ;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="keyword">extern</span> int  (*<a class="code" href="wiringPi_8c.html#a66901c5302a81bcf51d725a152ce2f10">digitalRead</a>)       (<span class="keywordtype">int</span> pin) ;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="bcm2835_8h.html#a6209d4b66365091c2bc551d354167e03">delayMicroseconds</a>) (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> howLong) ;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#a8d4d6790e48b2ec8353bc8da4e9ef0e6">pwmSetMode</a>)        (<span class="keywordtype">int</span> mode) ;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#a84d3dce803d3afac3c9da0bdd019b417">pwmSetRange</a>)       (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> range) ;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keyword">extern</span> void (*<a class="code" href="wiringPi_8c.html#aa847af8aabf1090a6bd285096d753fad">pwmSetClock</a>)       (<span class="keywordtype">int</span> divisor) ;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">// Interrupts</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="keyword">extern</span> int  (*<a class="code" href="wiringPi_8c.html#aa1e6b03d677d521d9de3263cbef0ea90">waitForInterrupt</a>) (<span class="keywordtype">int</span> pin, <span class="keywordtype">int</span> mS) ;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="comment">// Threads</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="wiringPi_8h.html#ac84b74ed78f080f7a8817ef8e725ec7d">   87</a></span>&#160;<span class="preprocessor">#define PI_THREAD(X)    void *X (void *dummy)</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span>  <a class="code" href="wiringPi_8h.html#af71e1183447a24d236fddbec201188cf">piThreadCreate</a> (<span class="keywordtype">void</span> *(*fn)(<span class="keywordtype">void</span> *)) ;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wiringPi_8h.html#a93b62338e5e3bf52eb893de8a3c02af1">piLock</a>         (<span class="keywordtype">int</span> key) ;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="wiringPi_8h.html#a388a56daee0d84c2a5143b4545bfb06d">piUnlock</a>       (<span class="keywordtype">int</span> key) ;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment">// Schedulling priority</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="wiringPi_8h.html#a47e895699eb138e934caf1d995594aea">piHiPri</a> (<span class="keywordtype">int</span> pri) ;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">// Extras from arduino land</span></div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span>         <a class="code" href="bcm2835_8h.html#a524f992188578dc1b5b0baed174bec0a">delay</a>             (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> howLong) ;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="wiringPi_8c.html#a941a22cb7e0f6429fe40f91e83ead3d9">millis</a>            (<span class="keywordtype">void</span>) ;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor"></span>}</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 16 2013 16:20:02 for RaspBerryPi power control by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
